#pragma once
/** \brief Just a config file
 */

#ifndef __WORKPATH__
#	define __WORKPATH__ ""
#endif

#ifndef __SFC_VERSION__
#	define __SFC_VERSION__ "unknow edition"
#endif

#define amask 0xFF000000
#define rmask 0x00FF0000
#define gmask 0x0000FF00
#define bmask 0x000000FF

#define SFC_assert(...) assert(__VA_ARGS__)

#ifndef __ANDROID__
#	define DEFAULT_FONT "Font\\system.ttf"
#	define SFC_MOUSE_MOVE	SDL_MOUSEMOTION
#	define SFC_MOUSE_UP		SDL_MOUSEBUTTONUP
#	define SFC_MOUSE_DOWN	SDL_MOUSEBUTTONDOWN
#	define SFC_MOUSE_X (event->motion.x)
#	define SFC_MOUSE_Y (event->motion.y)
#else
#	define DEFAULT_FONT "./Font/system.ttf"
#	define SFC_MOUSE_MOVE	SDL_FINGERMOTION
#	define SFC_MOUSE_UP		SDL_FINGERUP
#	define SFC_MOUSE_DOWN	SDL_FINGERDOWN
#	define SFC_MOUSE_X (event->tfinger.x * (float)Width)
#	define SFC_MOUSE_Y (event->tfinger.y * (float)Height)
#endif

#define CURSOR_SIZE 20